﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntityDesigner2
{
    /// <summary>
    /// 表
    /// </summary>
    public class Table
    {
        /// <summary>
        /// 所有
        /// </summary>
        public Dictionary<string, string> Properties { get; set; }
        public List<TableColumn> Columns { get; set; }

        /// <summary>
        /// 获取句柄
        /// </summary>
        public long Handle { get; private set; }
        /// <summary>
        /// 设置句柄
        /// </summary>
        /// <param name="handle"></param>
        public void SetHandle(long handle) => Handle = handle;
    }
}
